Coverage Report for attitude_controller

Table Of Contents

  1. Analysis Information
  2. Tests
  3. Summary
  4. Details
  5. Signal Ranges

Analysis Information

Model Information

  Model Version   1.67
  Author   bpotter
  Last Saved   Tue Jan 28 07:24:13 2014

Simulation Optimization Options

  Inline Parameters   on
  Block Reduction   off
  Conditional Branch Optimization   on

Coverage Options

  Analyzed model   attitude_controller
  Logic block short circuiting   off

Blocks Eliminated from Coverage Analysis

Model Object Rationale
attitude_controller/Int Gain Conditionally executed block
attitude_controller/ResetIntegratorInternal/Product1 Conditionally executed block
attitude_controller/ResetIntegratorInternal/Sum Conditionally executed block

Tests

Test 1, Current Run

Started Execution: 03-Feb-2014 07:51:51
Ended Execution: 03-Feb-2014 07:51:53

Test 2, Delta

Started Execution: 03-Feb-2014 07:47:23
Ended Execution: 03-Feb-2014 07:51:53

Test 3, Cumulative

Started Execution: 03-Feb-2014 07:47:23
Ended Execution: 03-Feb-2014 07:51:53

Summary

Model Hierarchy/Complexity: Current Run   Delta   Cumulative  
D1 C1   D1 C1   D1 C1  
1. attitude_controller 11 90%
  
100%
  
  0%
  
0%
  
  100%
  
100%
  
 
2. . . . ResetIntegratorInternal 4 88%
  
NA   0%
  
NA   100%
  
NA  

Details

1. Model "attitude_controller"

Child Systems: ResetIntegratorInternal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 11
Condition (C1) NA 100% (2/2) condition outcomes
Decision (D1) NA 100% (20/20) decision outcomes

   Logic block "Not engaged"

Parent: /attitude_controller

Metric Coverage
Cyclomatic Complexity 0
Condition (C1) 100% (2/2) condition outcomes

  Conditions analyzed:
Description: #1 T #1 F #2 T #2 F Tot T Tot F
  input port 1 1994 8 0 0 39880 160

   Saturate block "Cmd Limit"

Parent: /attitude_controller

Metric Coverage
Cyclomatic Complexity 2
Decision (D1) 100% (4/4) decision outcomes

  Decisions analyzed:
  input > lower limit 100% 0% 100%
      false 6/2002 0/0 18/40024
      true 1996/2002 0/0 40006/40024
  input >= upper limit 50% 0% 100%
      false 2002/2002 0/0 40024/40040
      true 0/2002 0/0 16/40040

   Saturate block "Disp Limit"

Parent: /attitude_controller

Metric Coverage
Cyclomatic Complexity 2
Decision (D1) 100% (4/4) decision outcomes

  Decisions analyzed:
  input > lower limit 100% 0% 100%
      false 601/1840 0/0 2602/33113
      true 1239/1840 0/0 30511/33113
  input >= upper limit 100% 0% 100%
      false 1840/2002 0/0 33113/40040
      true 162/2002 0/0 6927/40040

   Saturate block "Rate Limit"

Parent: /attitude_controller

Metric Coverage
Cyclomatic Complexity 2
Decision (D1) 100% (4/4) decision outcomes

  Decisions analyzed:
  input > lower limit 100% 0% 100%
      false 211/1663 0/0 447/33739
      true 1452/1663 0/0 33292/33739
  input >= upper limit 100% 0% 100%
      false 1663/2002 0/0 33739/40040
      true 339/2002 0/0 6301/40040

2. SubSystem block "ResetIntegratorInternal"

Parent: /attitude_controller

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 4
Decision (D1) NA 100% (8/8) decision outcomes

   Saturate block "Saturation"

Parent: attitude_controller/ResetIntegratorInternal

Metric Coverage
Cyclomatic Complexity 2
Decision (D1) 100% (4/4) decision outcomes

  Decisions analyzed:
  input > lower limit 100% 0% 100%
      false 472/2002 0/0 2914/37473
      true 1530/2002 0/0 34559/37473
  input >= upper limit 50% 0% 100%
      false 2002/2002 0/0 37473/40040
      true 0/2002 0/0 2567/40040

   Switch block "Switch"

Parent: attitude_controller/ResetIntegratorInternal

Metric Coverage
Cyclomatic Complexity 1
Decision (D1) 100% (2/2) decision outcomes

  Decisions analyzed:
  logical trigger input 100% 0% 100%
      false (output is from 3rd input port) 1994/2002 0/0 39880/40040
      true (output is from 1st input port) 8/2002 0/0 160/40040

   Switch block "Switch1"

Parent: attitude_controller/ResetIntegratorInternal

Metric Coverage
Cyclomatic Complexity 1
Decision (D1) 100% (2/2) decision outcomes

  Decisions analyzed:
  logical trigger input 100% 0% 100%
      false (output is from 3rd input port) 1994/2002 0/0 39880/40040
      true (output is from 1st input port) 8/2002 0/0 160/40040

Signal Ranges

Hierarchy Test 1 Test 2 Overall
Min Max Min Max Min Max
attitude_controller  
. . . Not engaged   0 1 - - 0 1
. . . Cmd Limit   -15 0.990454 - - -15 15
. . . Disp Limit   -30 20 - - -30 30
. . . Rate Limit   -6 3 - - -6 6
. . . Disp Gain   -30.0125 16.8347 - - -32 32
. . . Int Gain   -6.04245 0.201773 -6.04245 -6.01784 -6.04245 5.98216
. . . Rate Gain   -18.1274 0.807093 -18.1274 -18.0867 -18.1274 18
. . . Sum   -30.0125 8.41737 - - -32 32
. . . Sum1   -6.04245 0.403546 -6.04245 -6.02889 -6.04245 6
. . . Sum2   -18.89 0.990454 -18.89 -18.0867 -18.89 18
. . . ResetIntegratorInternal  
. . . . . . Saturation   -5 0.632602 - - -5 5
. . . . . . Switch   -5.04942 0.632602 -5.04942 -5.04848 -5.04942 5.03475
. . . . . . Switch1   -5.04942 0.632602 -5.04942 -5.04848 -5.04942 5.03475
. . . . . . Product   0.025 0.025 - - 0.025 0.025
. . . . . . Product1   -0.151061 0.00504433 -0.151061 -0.150446 -0.151061 0.149554
. . . . . . Sum   -5.04942 0.632602 -5.04942 -5.04848 -5.04942 5.03475
. . . . . . Constant   1 1 - - 1 1
. . . . . . Constant1   0.025 0.025 - - 0.025 0.025
. . . . . . Constant2   0 0 - - 0 0
. . . . . . X   -5.04942 0.632602 -5.04942 -5.04848 -5.04942 5.03475